package com.xbongbong.saas.domain.entity;

import com.xbongbong.paas.enums.DelEnum;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author feng.zheng
 * @version v1.0
 * @date 2019/3/24 15:46
 * @since v1.0
 */
@Setter
@Getter
@ToString
public class RefundInvoiceEntity implements Serializable {

    private static final long serialVersionUID = -4762264980260559411L;
    // 主键
    private Long id;
    // 公司id
    private String corpid;
    // 退货退款id
    private Long refundId;
    // 发票id
    private Long invoiceId;
    // 关联红冲合同id
    private Long redContractId;
    // 关联红冲回款id
    private Long redPaymentId;
    // 审批状态（不需要审批，待审批，审批中，拒绝，通过，撤回）
    private Integer flowStatus;
    // 添加时间
    private Long addTime;
    // 更新时间
    private Long updateTime;
    // 删除标记
    private Integer del;

    public RefundInvoiceEntity() {
        this.del = DelEnum.NORMAL.getDel();
    }

}
